#include "NotifyManager.h"
#include "CommonUtils.h"

NotifyManager* NotifyManager::instance = nullptr;

NotifyManager::NotifyManager()
{}

NotifyManager::~NotifyManager()
{}

NotifyManager* NotifyManager::getInstance()
{
	if (instance == nullptr)
	{
		instance = new NotifyManager();
	}

	return instance;
}


void NotifyManager::notifyOtherWindowChangeSkin(const QColor& color)
{
	emit singnalSkinChanged(color);
	CommonUtils::setDefaultSkinColor(color);
}